#!/bin/bash
cd /opt/tonic-salvo/apps/system
echo "=== 开始编译 system-server ==="
cargo build --bin system-server 2>&1 | tee compile_output.log
echo "=== 编译完成，错误输出已保存到 compile_output.log ===" 